#define _CRT_SECURE_NO_WARNINGS 1
#include"DLTist.h"

void TestDLTist1()
{
	LTNode* plist=LTInit();

	LTPushback(plist,1);
	LTPushback(plist, 2);

	LTPushFront(plist, 3);
	LTPushFront(plist, 4);

	/*LTPopBack(plist);
	LTPopBack(plist);*/

	/*LTPopFront(plist);
	LTPopFront(plist);*/
	//LTNode* pos = LTFind(plist, 3);
	//if (pos)
	//{
	//	LTInsert(pos, 30);
	//}
	
	//LTNode* pos = LTFind(plist, 3);
	//if (pos)
	//{
	//	LTErase(pos);
	//}

	LTPrint(plist);
	LTDestroy(plist);
}

int main()
{
	TestDLTist1();
	return 0;
}